<table>
    <tbody>
    
        <tr class="prop">
            <td class="name">
                <label for="product"><g:message code="b2b.bom.product.label" default="Product" /></label>
            </td>
            <td class="value ${hasErrors(bean: bomInstance, field: 'product', 'errors')}">
                <g:select name="product.id" from="${org.icress.fusion.b2b.Product.list()}" optionKey="id" optionValue="serialNumber" value="${bomInstance?.product?.id}"  />
            </td>
        </tr>
    </tbody>
</table>